<template>
 <view>
 <view class="system_list">
   <o-cell border card> 
       <o-cell-item title='软件升级' @tap="goupUpperComputer" arrow/>
       <o-cell-item title='Logo升级' @tap="goupLogo" arrow/>
       <o-cell-item title="资源升级" @tap="goupResources" arrow />
       <o-cell-item title="固件升级" @tap="goupFirmware" arrow />
   </o-cell>
 </view>
 </view>
</template>

<script>
   import {
      deviceControl
    } from "@/api/system/equiment/equipment.js"
  export default {
    data() {
      return {
      }
    },
    methods: {
      //跳转上位机升级界面
    goupUpperComputer(){
      uni.navigateTo({
        url:'../upgrade/detailed/index?Type=2'
      })
    },
    //跳转Logo升级界面
    goupLogo(){
      uni.navigateTo({
        url:'../upgrade/detailed/index?Type=3'
      })
    },
    //跳转资源升级
    goupResources(){
      uni.navigateTo({
        url:'../upgrade/detailed/index?Type=4'
      })
    },
    //跳转固件升级
    goupFirmware(){
      uni.navigateTo({
        url:'../upgrade/detailed/index?Type=5'
      })
    },
    //切换横屏竖屏
    changeScreen(){
      uni.navigateTo({
        url:'../upgrade/detailed/index?Type=6'
      })
    }
  }
  }
</script>

<style>
page {
  background-color: #F6f6f6;
}
.erroTishi{
  color: red;
  margin-top: 20rpx;
}
.textTishi{
  display: block;text-align: center;
}
.upgrade_set{
  display:flex;justify-content: center;flex-direction: column;align-items: center;margin-top: 100rpx;
}
</style>
